<?php
/**
 * Created by PhpStorm.
 * User: lingyun
 * Date: 2018/5/7
 * Time: 22:40
 * Desc: 微信和支付宝当面付回调处理
 */
namespace app\index\controller;
use think\Controller;
use think\Db;

class Dangmianfu extends Controller{
    /**
     * @Author  lingyun
     * @Desc    支付宝当面付款回调
     * 2018-05-07
     */
    public function alipay_notify(){
        $request = input('param.');     //回调参数
//        file_get_contents("php://input")
        file_put_contents('dangmianfu.txt',$request);
//        $request = json_decode(json_encode($request),true);     //解码

//        file_put_contents('dangmianfu.txt',json_encode($request));
    }

}